﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonWFLibrary
{
    /// <summary>
    /// The info we need in order to be able to send a
    /// message to this queue.
    /// </summary>
    [Serializable]
    internal class LongRunningActivityInfo
    {
        public Guid instanceId;
        public IComparable resultQueueName;
        public MethodArgumentInterface _callback;
        public object _arg;
        public int _timesToRetry;
        public object _context;

        public LongRunningActivityInfo(Guid inst, IComparable qName, MethodArgumentInterface callback, object arg, int timesToRetry)
        {
            instanceId = inst;
            resultQueueName = qName;
            _callback = callback;
            _arg = arg;
            _timesToRetry = timesToRetry;
            _context = null;
        }
    }

}
